package com.example.script.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class Message implements Serializable {
    @ApiModelProperty(value = "消息id")
    private Integer messageId;

    @ApiModelProperty(value = "消息发送者id")
    private Integer messageSendid;

    @ApiModelProperty(value = "消息接收者id")
    private Integer messageReceiverid;

    @ApiModelProperty(value = "消息内容")
    private String messageContent;

    @ApiModelProperty(value = "消息发送时间")
    private String messageTime;

    private static final long serialVersionUID = 1L;

    public Integer getMessageId() {
        return messageId;
    }

    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    public Integer getMessageSendid() {
        return messageSendid;
    }

    public void setMessageSendid(Integer messageSendid) {
        this.messageSendid = messageSendid;
    }

    public Integer getMessageReceiverid() {
        return messageReceiverid;
    }

    public void setMessageReceiverid(Integer messageReceiverid) {
        this.messageReceiverid = messageReceiverid;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public String getMessageTime() {
        return messageTime;
    }

    public void setMessageTime(String messageTime) {
        this.messageTime = messageTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", messageId=").append(messageId);
        sb.append(", messageSendid=").append(messageSendid);
        sb.append(", messageReceiverid=").append(messageReceiverid);
        sb.append(", messageContent=").append(messageContent);
        sb.append(", messageTime=").append(messageTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}